<template>
  <div id="app" v-loading.fullscreen.lock="fullLoading">
  <div class="bgc"></div>
    <top />
    <index />
  </div>
</template>

<script>
import top from './components/01.top.vue';
import index from './components/02.index.vue';
import { stateStore } from '@/store/index'

export default {
  name: 'app',
  components: {
    top,
    index
  },
  computed: {
    fullLoading(){
      const state = stateStore()
      return state.fullLoading
    }
  },
  methods:{
    // test() {
    //   const state = stateStore()
    //   state.update("fullLoading",true)
    //   setTimeout(()=>{
    //     state.update("fullLoading",false)
    //   },1000)
    // }
  }
 
};
</script>

<style >

</style>
